@extends('admin.formLayout')
@section('title',trans('message.user_info'))
@section('barName',trans('message.user_info'))
    @section('content')

        <form class="layui-form" action="{{route('admin.user_info_post')}}" method="post">
        {{csrf_field()}}

            <div class="layui-form-item">
                <label class="layui-form-label">{{trans('message.email_filed')}}</label>
                <div class="layui-input-block">
                  <label class="layui-form-label">  {{$userInfo->email}}</label>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">{{trans('message.avatar')}}</label>
                <div class="layui-input-block">
        @include('admin.form.image',['name'=>'avatar','value'=>$userInfo->avatar])
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
                    <button type="button"  class="layui-btn layui-btn-primary">返回</button>
                </div>
            </div>
        </form>

        @endsection